package com.mrjy.wechat.dao;

import java.util.List;

import com.mrjy.common.entity.WxMsgBase;
import com.mrjy.common.entity.WxMsgNews;
import com.mrjy.common.entity.WxMsgText;


public interface MsgBaseDao {

	public WxMsgBase getById(String id);

	public List<WxMsgBase> listForPage(WxMsgBase searchEntity);

	public List<WxMsgNews> listMsgNewsByBaseId(String[] ids);
	
	public WxMsgText getMsgTextByBaseId(String id);
	
	public WxMsgText getMsgTextBySubscribe();
	
	public WxMsgText getMsgTextByInputCode(String inputcode);
	
	public void add(WxMsgBase entity);

	public void update(WxMsgBase entity);
	
	public void updateInputcode(WxMsgBase entity);

	public void delete(WxMsgBase entity);

}